<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册成功</title>
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<script type="text/javascript">
	var c = 5;
	function gotoindex(){
		document.getElementById("time").innerHTML = c;
		if (c == 0) {
			window.location = "driftAfterLogin.jsp";
		}
		else {
			c--;
			setTimeout("gotoindex()",1000);
		}
	}
</script>
</head>
<body onload="gotoindex()">
	<div class="wrapper col1">
		<div id="topbar">
			<div id="header">
				<h1>&nbsp;</h1>
			</div>
		</div>
	</div>
	<div class="wrapper col3">
		<div id="errorcontent">
			<h1>注册成功</h1>
			<div id="signupsuccess">
				<img src="images/signup_success.png" />
				<div class="signupsuccessinfo">
					<p id="welcome">
						恭喜您,注册成功!<br /> <br />您的用户名为：<%=session.getAttribute("username").toString() %></p>
					<p id="return">
						<span id="time">5</span>秒后返回首页&nbsp;&nbsp;
					</p>
					&raquo;&nbsp;去<a href="drift.jsp"> 我的信息 </a>看看<br /> <br /> <a
						href="driftAfterLogin.jsp">&raquo;&nbsp;点此直接返回首页</a> <br /> <br />
					<br /> <br />
				</div>
			</div>
		</div>
		<br class="clear" />
	</div>
	<div class="wrapper col5">
		<div id="copyright">
			<p class="fl_left">
				Copyright &copy; 2012 - All Rights Reserved - <a href="#">Shanghai
					University Opensource Community</a>
			</p>
			<br class="clear" />
		</div>
	</div>
</body>
</html>